<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>字体</title>
		<link rel="stylesheet" href="../../css/bootstrap.min.css" />
	</head>
	<body>
		<!--
        	open                    菜单默认是展开的，给dropdown添加
        	pull-right              向右靠齐
        	btn-block               铺满
        	dropup                  菜单向上显示 
        	dropdown-header         菜单里的标题。给li添加
        	text-center             文本居中
        	divider                 分割线，给li添加
        -->
		<div class="container">
			<div class="row">
				<div class="col-lg-4">
					<!--<div class="dropdown open pull-right">-->
						<div class="dropdown open">
						<button class="btn btn-default dropdown-toggle btn-block" data-toggle="dropdown">
							北京市<span class="caret"></span>
						</button>
						<ul class="dropdown-menu dropdown-menu-right">
							<li><a href="#">海淀区</a></li>
							<li class="divider"></li>
							<li><a href="#">朝阳区</a></li>
							<li class="divider"></li>
							<li><a href="#">大兴区</a></li>
							<li class="divider"></li>
							<li><a href="#">密云区</a></li>
							<li class="divider"></li>
							<li><a href="#">通州区</a></li>
							<li class="divider"></li>
							<li><a href="#">东城区</a></li>
						</ul>
					</div>
				</div>
				<div class="col-lg-4" style="margin-top: 300px;">
					<div class="dropup">
						<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
							北京市<span class="caret"></span>
						</button>
						<ul class="dropdown-menu">
							<li><a href="#">海淀区</a></li>
							<li class="divider"></li>
							<li><a href="#">朝阳区</a></li>
							<li class="divider"></li>
							<li><a href="#">大兴区</a></li>
							<li class="divider"></li>
							<li><a href="#">密云区</a></li>
							<li class="divider"></li>
							<li><a href="#">通州区</a></li>
							<li class="divider"></li>
							<li><a href="#">东城区</a></li>
						</ul>
					</div>
				</div>
				<div class="col-lg-4">
					<div class="dropdown">
						<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
							北京市<span class="caret"></span>
						</button>
						<ul class="dropdown-menu">
							<li class="dropdown-header text-center"><a href="#">海淀区</a></li>
							<li class="divider"></li>
							<li class="disabled"><a href="#">朝阳区</a></li>
							<li class="divider"></li>
							<li><a href="#">大兴区</a></li>
							<li class="divider"></li>
							<li><a href="#">密云区</a></li>
							<li class="divider"></li>
							<li><a href="#">通州区</a></li>
							<li class="divider"></li>
							<li class="disabled"><a href="#">东城区</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="../../js/jquery-2.1.0.js" ></script>
		<script type="text/javascript" src="../../js/bootstrap.min.js" ></script>
	</body>
</html>
